package cn.yj.cgs.dba.entity;


import cn.yj.cgs.dba.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author 永健
 * @since 2021-04-19 16:12:11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "tb_integral")
public class Integral extends BaseEntity{
    private static final long serialVersionUID = 1L;

    public Integral() {
    }

    public Integral(String userCode) {
        this.userCode = userCode;
        this.integral = BigDecimal.ZERO;
    }

    /**
     * <br>
     */

    private String userCode;


    /**
     * <br>
     */
    private BigDecimal integral;

}

